package com.magenta.maxoptra.gis;

import java.security.Principal;

/*
* Project: MaxOptRA v1.1
* User: Ivan Usalko
* Date: 10.09.2009 16:58:21
*
* Copyright (c) 1999-2009 Magenta Corporation Ltd. All Rights Reserved.
* Magenta Technology proprietary and confidential.
* Use is subject to license terms.
*/
/**
 * Connction credentials interface.
 */
public interface ConnectionCredentials {
    /**
     * User sertificate.
     * @return maybe null.
     */
    Principal getUserPrincipal();

    /**
     * User pass phrase.
     * @return maybe null or contains hash.
     */
    String getPassword();
}